From 8931a72ea22ae754bef348f43905d94ebad58359 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Wed, 21 Oct 2015 15:15:56 +0100 Subject: [PATCH] tools: create XEN_DUMP_DIR with mode 0700 That directory is used to store guest memory dump which contains sensitive information. Signed-off-by: Wei Liu Acked-by: Ian Campbell --- tools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/Makefile b/tools/Makefile index 26185594cf..820ca40442 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -58,7 +58,7 @@ build all: subdirs-all .PHONY: install install: subdirs-install - $(INSTALL_DIR) $(DESTDIR)$(XEN_DUMP_DIR) + $(INSTALL_DIR) -m 700 $(DESTDIR)$(XEN_DUMP_DIR) $(INSTALL_DIR) $(DESTDIR)/var/log/xen $(INSTALL_DIR) $(DESTDIR)/var/lib/xen -- 2.30.2